x86/boot: Export bootstrap_map() for use in other translation units
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Nov 2017 19:01:15 +0000 (19:01 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 11 Jan 2018 12:25:37 +0000 (12:25 +0000)
commitb9d7e90047a4c1e7646742058c875f7a813da9ce
tree9e644b3539579ffece97589d25c6b99d7c42acc2
parentb6c2c7f48ab8bd5566759cb404afd80fd0df2dfe
x86/boot: Export bootstrap_map() for use in other translation units

There is one static bootstrap_map() function which is passed via function
pointer to all of its users.  This is wasteful.

Export bootstrap_map() for all x86 users, and drop the function pointer
parameter from the construct_dom0*() infrastructure.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/dom0_build.c
xen/arch/x86/hvm/dom0_build.c
xen/arch/x86/pv/dom0_build.c
xen/arch/x86/setup.c
xen/include/asm-x86/dom0_build.h
xen/include/asm-x86/setup.h